Skip to content

Comments

Update the documentation of Number::toReadableSize() to new specifications#8227

Merged
markstory merged 5 commits intocakephp:5.nextfrom
j04chim:5.next
Feb 21, 2026
Merged

Update the documentation of Number::toReadableSize() to new specifications#8227
markstory merged 5 commits intocakephp:5.nextfrom
j04chim:5.next

Conversation

@j04chim
Copy link
Contributor

@j04chim j04chim commented Feb 9, 2026

Here are my proposed updates to the documentation for Number::toReadableSize(). I did not modify the Japanese version.

Copy link
Contributor

@josbeir josbeir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also note this change in the migration guide ?

https://github.com/cakephp/docs/blob/5.next/docs/en/appendices/5-4-migration-guide.md


## Breaking Changes

- `Number::toReadableSize()` now calculates decimal units (KB, MB, GB and TB)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we added the new way as BC flag. To opt in.

@josbeir
Copy link
Contributor

josbeir commented Feb 16, 2026

ping @j04chim

@markstory markstory merged commit e745a35 into cakephp:5.next Feb 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants